<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>上传文件功能</title>
</head>
<body>
<form method="post" enctype="multipart/form-data">
  <div>
    <label for="title">文件名称</label>
    <input id="title" type="text" name="title">
  </div>
  <div>
    <label for="file">文件名称</label>
    <input id="file" type="file" name="file">
  </div>
  <input type=submit value="提交">
</form>
</body>
</html>